[#ftl]
<link media="screen" type="text/css" href="${base}/resources/css/style.css" rel="stylesheet">
<div>
<table align="center" class="listing">
    <tr><td class="hed" colspan="3">List of authors</td></tr>
    <tr>
        <th>First Name</th>
        <th>Last Name</th>
        <th>Books</th>
    </tr>
    [#list authors as author]
    <tr [#if author_index%2 = 0]class="bg"[/#if]>
        <td>${author.firstName!''}</td>
        <td>${author.lastName!''}</td>
        <td>[#if author.books??][#list author.books as book] ${book.title}[#if book_has_next],[/#if][/#list][/#if]</td>
    </tr>
    [/#list]
</table>
</div>